migrated scripts to coffee