separated inline script to file