get path from script
arguments are now provided from main