added separate run and compile scripts