Fix do into template and added run_actions for resoureces