Fixed script API by using a single table "lubyk" instead of pseudo globals.