fixed an issue with basePath option

where the basePath was not being used to read script files
v0.1.4