changed path from dirname(__FILE__) to PS_ROOT_DIR