Arbitrary placement of _ss_environment.php in parent folders

Removes hardcoding to three levels