Fixed bug where init would not receive arguments