code generator working now

please remember to populate your scenes code array in time