Changed startup script 'if' syntax