working directory extracted from script path