Added $release_path and $shared_path global variables handling