I'd invert the 'only' and 'allowed' both times, put commas before the two 'but's, and change the comma before 'whereas' to a semicolon. But that may be just me.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.