Made globally accessible variables
Made create shape globally accessible