* Made get_app_path more dynamic to be used externally as well