make script path absolute