Made compiler script work (Paul's idea)