add cd .. at end of script ... why does this help? maybe its sourced
rather than run?