improving on hardcoded paths in ide script