Using shellescape properly