get the real path of script