updated script pwd