Could you provide examples of the scripts you are trying to execute?
It is very difficult to guess what may be going wrong without seeing your code.