Added the open function and moved completion scripts to a separate folder for easy inclusion