There are some fixes in postcreate script where made. Added initial deploy function