Some syntax fixes and added new way for revision tracking/reverting