setup production run code as production if nothing sent in