making it work with composer properly