Updated version number to 1.1
Removed rogue endif