Writing initial script