Fixed issue with change script source and removed debug print