LIVEOAK-567 Find and fix possible concurrency issues in scripts resources
LIVEOAK-529: Show "Script not available" when no script exist
Merge pull request #334 from ammendonca/LIVEOAK-529

LIVEOAK-529: Show "Script not available" when no script exist