Prepare script template from scm entry