Got puppet working

Made necessary changes