got it working in memory, need to add in a shell script