Initial semiworking script