Fix lever script and convert rest to meta

Solves #1278
Should be ~= 1