removed external references and added preset password option