Fixed bug with calling source script