Checking for commit access by adding syso

working for the new requirements