Added ability to generate level based on level id