Added commands to print debug info before attempting to create security groups