Implement callbacks
Added example script
Changes in gitignore