Added linux check and allowed whitespaces