LIVEOAK-565 & LIVEOAK-715

LIVEOAK-565: Perform checks on the target-path when updating a scripting resource.
LIVEOAK-715: Save the script metadata file on an update.