Add more methods to check for command injection

Add more methods to check for command injection and finally close #206.