updated script to path constants