changed .input to .psd