Replace groovy code with script for 'Put card from hand to battlefield' effects
Remove more groovy code and fix missing new line