Fix lever script and convert rest to meta

Solves #1278
remove this