Removed exit 1 from code... clearly debugging and forgot about it