Created deploy script; fixed conflicting aliases; fixed open function