Added load_project safety to runtime