cleaned up the script, fixed a few resource names, removed mappings and parameters section as they are not used.