some fixes to project script