Reading from STDIN and setting the execute bits properly.