fixed case select mistake
started framework of sourceinstall function