Change working directory when running package scripts