put in more guards so we don't crash if not enough arguments are given
put in more guards so we don't crash if not enough arguments are given

saibotshamtul/teajs,ctkjose/teajs,saibotshamtul/teajs,saibotshamtul/teajs,ctkjose/teajs,saibotshamtul/teajs,ctkjose/teajs,saibotshamtul/teajs,ctkjose/teajs,ctkjose/teajs