Fix lever script and convert rest to meta

Solves #1278
Remove this