Added sleep to wait postgres to start