Hum, there might be something wrong with the %lev variable. Set %lev to 500 and run it again. Make sure you have at least one user with level 500 access.