fixed the script path annoyance

much thanks to cdituri for the great idea