changed path from dirname(__FILE__) to PS_ROOT_DIR

changed path from dirname(__FILE__) to PS_ROOT_DIR