Fixed problem with absolute script path detection