added hardcoded rm -rf /instances/* to forcefully remove files after terminate