Ensure command folder is created for replication scripts
ensure replicate script is added with correct content
add semicolons to eval javascript