Implemented methods to set basic variables from Python