Initial commit of working script