added a resource manager script