fix starting outside main directory

use script path instead of working directory