Added max length to inputs. Added penalty manual trigger.