Add log output in cp_btn_change function

Add log output for showing when is the script be changed and what is
the script be written.
Merge branch 'master' of https://github.com/liberoxp/chpc