added escaping
added spacing
added branches and other users
added debug statements
rearranged the inputs (for usability)
improved logging