remove unnecessary libraries etc..