use absolute path in script

for calling the script in other dir.