Comprehend how computers represent data internally using binary and hexadecimal, and perform fundamental bitwise operations.
Write a script that manually converts a user-provided integer into its binary and hexadecimal equivalents without using built-in conversion functions.