separated inline script to file
Merge branch 'sam'