[READY] Combine nested if-statement for editable profile script

@JacobH1992 Realised this could be even simpler. Hopefully this is the last change!