Changed dir to out