Finally finished with flip so it doesnt die when there arent any flags or arguments.