Modified to run as administrator