Adding new script for resource allocation.