Added code to moveToFlask()